﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AddorEdit.aspx.cs" Inherits="kim.Web.dc0802.ListType.AddorEdit" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
     <title>添加或编辑主题</title>
    <link rel="stylesheet" type="text/css" href="../img/style.css" />
    <script type="text/javascript" src="../js/jquery-1.3.2.min.js"></script> 
    <script type="text/javascript" src="../js/cursorfocus.js"></script>
    <script type="text/javascript" src="../js/singleupload.js"></script> 
    <script type="text/javascript">
        $(function () {
            //表单验证JS
            $("#form1").validate({
                //出错时添加的标签
                errorElement: "span",
                success: function (label) {
                    //正确时的样式
                    label.text(" ").addClass("success");
                }
            });
            //显示关闭高级选项
            $("#upordown").toggle(function () {
                $(this).text("关闭高级选项");
                $(this).removeClass();
                $(this).addClass("up-01");
                $(".upordown").show();
            }, function () {
                $(this).text("显示高级选项");
                $(this).removeClass();
                $(this).addClass("up-02");
                $(".upordown").hide();
            });
        });
    </script>
     <style type="text/css">
         .required
         {}
     </style>
</head>
<body style="padding: 10px;">
    <form id="form1" runat="server">



    <div class="navigation"> <b>您当前的位置：首页
            &gt;
             系统设置
            &gt; 信息修改</b>
    </div>
    <div style="padding-bottom: 10px;">
    </div>
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr style="height: 30px;">
            <th colspan="2" align="left">
                <asp:Label ID="labtitle2" runat="server"></asp:Label>
            </th>
        </tr>

        <tr style="height: 30px;">
            <td width="15%" align="right">
                是否为顶级分类：
            </td>
            <td width="85%">
                <asp:CheckBox ID="ck_top" Text="(打勾：是  不打勾：不是)" runat="server" />
                 
            </td>
        </tr>
    <asp:Panel ID="panel" runat="server">
        <tr style="height: 30px;">
            <td width="15%" align="right">
                顶级菜单：
            </td> 
            <td width="85%">
               <asp:DropDownList ID="drp_class" runat="server" >
            </asp:DropDownList>
            </td>
        </tr>
    </asp:Panel> 
        <tr style="height: 30px;">
            <td width="15%" align="right">
                名称：
            </td>
            <td width="85%">
                <asp:TextBox ID="txtTitle" runat="server" CssClass="input w380 required" MaxLength="250"
                    Width="195px" Height="24px"></asp:TextBox>
            </td>
        </tr>
         <tr style="height: 30px;">
            <td width="15%" align="right">
                链接页面：
            </td>
            <td width="85%">
                <asp:TextBox ID="txt_Url" runat="server" CssClass="input w380 required" MaxLength="250"
                    Width="195px" Height="24px"></asp:TextBox>
            </td>
        </tr>
  
    </table>
    <div style="margin-top: 10px; text-align: center;">
        <asp:Button ID="btnSave" runat="server" Text="确认保存" CssClass="submit" OnClick="btnSave_Click" />
        &nbsp;&nbsp;<asp:Label ID="lbmsg" runat="server" Text="" ForeColor="Red"></asp:Label>
    </div>
    </form>
</body>
</html>